package cn.cloud.butler.scheduled.repository;

import cn.cloud.butler.scheduled.domain.CompMacSNEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface CompMacSNRepository extends JpaRepository<CompMacSNEntity, Long> {

    @Query(value = "select DISTINCT t.MacSN from CompMacSN t ", nativeQuery = true)
    List<String> findAllForDistinct();
}
